<%@ include file="uploadcommon.inc" %>
    <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="td_center"><span class="title-big-b-center">
          <%= label.getLabelName("L_Dealer") + label.getLabelName("L_Upload")%>
          </span></td>
        </tr>
      </table>
      <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellpadding="0" width="6800px" style="overflow: auto;">
        <tr>
	        <td class="td_center" colspan="9" ><%= label.getLabelName("L_BaseInfo")%></td>
	        <td class="td_center" colspan="41" ><%= label.getLabelName("L_ExtendInfo")%></td>
	        <td class="td_center" colspan="9" ><%= label.getLabelName("L_OrgRegistrationInfo")%></td>
        </tr>
        <tr class="deepblue-left">
            <td class="title_center" width="100"><%= label.getLabelName("L_DTcode")%></td>
            <td class="title_center" width="200"><%= label.getLabelName("L_DTorgname")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Status")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CountryName")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_RegionCode")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_RegionName")%></td>           
            <td class="title_center" width="100"><%= label.getLabelName("L_CityCode1")%></td>              
            <td class="title_center" width="100"><%= label.getLabelName("L_CityName")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CountyCode")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CountyName")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_OrgGrade")%></td>              
            <td class="title_center" width="100"><%= label.getLabelName("L_DealersLevel")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ParentOrgShortName")+label.getLabelName("L_Code")%></td>
			<td class="title_center" width="100"><%= label.getLabelName("L_ParentOrgShortName")+label.getLabelName("L_Name")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_AccountInfo1")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_YesOrNoChain")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CommonClass")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_YorN")+label.getLabelName("L_ChainHeadquarter")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_DeliveryRange")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_YorN")+label.getLabelName("L_Biznature")%></td> 
            <td class="title_center" width="100"><%= label.getLabelName("L_BaseMedicineDelivery")%></td>              
            <td class="title_center" width="100"><%= label.getLabelName("L_CustodyHospitalNumber")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_LootedProductsSituation")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Scale")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Fax")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ZipCode")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Telephone")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Email")%></td>
			<td class="title_center" width="100"><%= label.getLabelName("L_URL")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Address")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Comments")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_AgreementQuota")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CreditLimit")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_PurePinProportion")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_AllocateProportion")%></td>    
            <td class="title_center" width="100"><%= label.getLabelName("L_DistributionProportion")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CommercialProperties")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Hospital")%></td>  
            <td class="title_center" width="100"><%= label.getLabelName("L_Pharmacy")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_ThirdTerminal")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_Commercial")%></td>  
            <td class="title_center" width="100"><%= label.getLabelName("L_TotalAmount")%></td>
            <td class="title_center" width="120"><%= label.getLabelName("L_ReceiptMan")%></td>
            <td class="title_center" width="120"><%= label.getLabelName("L_RecieverAddress")%></td>   
            <td class="title_center" width="120"><%= label.getLabelName("L_Consignerphone")%></td>
            <td class="title_center" width="120"><%= label.getLabelName("L_registername")%></td>
            <td class="title_center" width="120"><%= label.getLabelName("L_RegisterDate")%></td>  
            <td class="title_center" width="100"><%= label.getLabelName("L_CorporatePerson")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_CompanyProperty")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_RegisterFund")%></td>  
            <td class="title_center" width="100"><%= label.getLabelName("L_BankName")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_BusinessLicenseNo")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_BankAccount")%></td>  
            <td class="title_center" width="100"><%= label.getLabelName("L_VATRegistrationNumber")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_taxno1")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_GSPCertificateNO")%></td> 
            <td class="title_center" width="100"><%= label.getLabelName("L_GSPCertificateValidity")%></td>
            <td class="title_center" width="100"><%= label.getLabelName("L_RegisteredAddress")%></td>  
        </tr>
        <logic:iterate id="distributorbatchinfo" collection="<%=distributorbatchvector %>"  indexId="idx">
        <%
          if((idx.intValue())%2 == 1)
          {
            	strClassType = "td-listrom";
          }else{
            	strClassType = "";
          }
        %>
       	<tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'"  class="<%=JspHelper.filterNull( strClassType )%>">
            <td>&nbsp;<custom:write property="orgcode" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="orgname" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="status" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="countryname" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="regioncode" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="regionname" name="distributorbatchinfo" nbsp="true"/></td>          
            <td>&nbsp;<custom:write property="citycode" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="cityname" name="distributorbatchinfo" nbsp="true"/></td>
           	<td>&nbsp;<custom:write property="countycode" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="countyname" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="dtlevel" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="dtlevel1" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="parentorgcode" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="parentorgname" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="accountcondition" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="ischain" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="druglevel" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="ischainheadquarter" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="deliveryscope" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="biznature" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="deliveryessentialdrug" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="hospitaltrusteeship" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="crossregionsale" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="scale" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="fax" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="zipcode" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="telephone" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="email" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="url" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="address" name="distributorbatchinfo" nbsp="true"/></td>          
            <td>&nbsp;<custom:write property="comments" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="protocolquota" name="distributorbatchinfo" nbsp="true"/></td>
           	<td>&nbsp;<custom:write property="trustquota" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="salespercent" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="transferpercent" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="distributepercent" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="biztype" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="bizcoverhospital" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="bizcoverpharmacy" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="bizcoverthirdterminal" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="bizcovercorp" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="bizcovertotal" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="consigner" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="consignerphone" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="consigneraddr" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="registername" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="opendate" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="corporateperson" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="corptype" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="registerfund" name="distributorbatchinfo" nbsp="true"/></td>
           	<td>&nbsp;<custom:write property="accountbank" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="lisenceno" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="accountno" name="distributorbatchinfo" nbsp="true"/></td>        
            <td>&nbsp;<custom:write property="taxno" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="taxno1" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="gspcertificationno" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="gspvaliditydate" name="distributorbatchinfo" nbsp="true"/></td>
            <td>&nbsp;<custom:write property="registeraddress" name="distributorbatchinfo" nbsp="true"/></td>
       	</tr>
      </logic:iterate>
</table>
